package com.dmap.officialwebsite.vo;


import com.dmap.officialwebsite.po.Company;

import java.io.Serializable;

public class CompanyVo implements Serializable {
    private String id;
    private String name;

    public CompanyVo(Company company) {
        this.id = company.getId().toString();
        this.name = company.getName();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}